﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Skyworth.CRM.Service.Entity
{
    public class Order
    {
        private int _id;
        private string _orderName;
        private string _orderCode;
        private int _custId;
        private int _cusDreeId;
        private int _contactId;
        private int _stockId;
        private string _notes;
        private int? _creator;
        private DateTime? _createTime;
        private int? _submiterId;
        private DateTime? _submitTime;
        private int _status;
        private double _totalNumber;
        private decimal _totalPrice;
        private decimal _totalTaxPrice;
        private double _totalVolume;
        private string _custName;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string OrderName
        {
            get { return _orderName; }
            set { _orderName = value; }
        }

        public string OrderCode
        {
            get { return _orderCode; }
            set { _orderCode = value; }
        }

        public int CustId
        {
            get { return _custId; }
            set { _custId = value; }
        }

        public int CusDreeId
        {
            get { return _cusDreeId; }
            set { _cusDreeId = value; }
        }

        public int ContactId
        {
            get { return _contactId; }
            set { _contactId = value; }
        }

        public int StockId
        {
            get { return _stockId; }
            set { _stockId = value; }
        }

        public string Notes
        {
            get { return _notes; }
            set { _notes = value; }
        }

        public int? Creator
        {
            get { return _creator; }
            set { _creator = value; }
        }

        public DateTime? CreateTime
        {
            get { return _createTime; }
            set { _createTime = value; }
        }

        public int? SubmiterId
        {
            get { return _submiterId; }
            set { _submiterId = value; }
        }

        public DateTime? SubmitTime
        {
            get { return _submitTime; }
            set { _submitTime = value; }
        }

        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public double TotalNumber
        {
            get { return _totalNumber; }
            set { _totalNumber = value; }
        }

        public decimal TotalPrice
        {
            get { return _totalPrice; }
            set { _totalPrice = value; }
        }

        public decimal TotalTaxPrice
        {
            get { return _totalTaxPrice; }
            set { _totalTaxPrice = value; }
        }

        public double TotalVolume
        {
            get { return _totalVolume; }
            set { _totalVolume = value; }
        }

        public string CustomerName
        {
            get { return _custName; }
            set { _custName = value; }
        }
    }
}
